package com.ruoyi.game.websocket.message.dto;

import lombok.Data;

import java.util.List;

@Data
public class RoomInfoDTO {
    private long roomId;
    private long setId;
    private List<PlayerPosDTO> players;
    private int dealerPos;
    private int status; // 游戏状态（等待/进行/结算）

    public RoomInfoDTO(long roomId, long setId, List<PlayerPosDTO> players, int dealerPos, int status) {
        this.roomId = roomId;
        this.setId = setId;
        this.players = players;
        this.dealerPos = dealerPos;
        this.status = status;
    }
}
